package com.lam.system.entity.imp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.lam.common.components.dict.annotation.Dict;
import com.lam.common.validate.annotation.DictValid;

/**
 * Table字典配置导入对象 SysTableDictImp
 * 
 * @author admin
 * @date 2022-08-02
 */

@ColumnWidth(30)
public class SysTableDictImp {

    /** 字典编码 */
    @ExcelProperty("字典编码")
    private String dictCode;
    
    /** 表名 */
    @ExcelProperty("表名")
    private String tableName;
    
    /** 作为字典value的表字段 */
    @ExcelProperty("value字段")
    private String valueField;
    
    /** 作为字典text的表字段 */
    @ExcelProperty("text字段")
    private String textField;
    
    /** 查询条件 */
    @ExcelProperty("查询条件")
    private String conditionSql;
    
    /** 状态 */
    @ExcelProperty("状态")
    @DictValid(message = "无效的状态值")
    @Dict(dictCode = "status_type", reverse = true)
    private String statusDictText;
    
    /** 类型 */
    @ExcelProperty("类型")
    @DictValid(message = "无效的类型")
    @Dict(dictCode = "config_type", reverse = true)
    private String typeDictText;
    
    /** 排序 */
    @ExcelProperty("排序")
    private Integer sort;
    
    /** 备注 */
    @ExcelProperty("备注")
    private String remark;
    
    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictCode() {
        return dictCode;
    } 
    
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableName() {
        return tableName;
    } 
    
    public void setValueField(String valueField) {
        this.valueField = valueField;
    }

    public String getValueField() {
        return valueField;
    } 
    
    public void setTextField(String textField) {
        this.textField = textField;
    }

    public String getTextField() {
        return textField;
    } 
    
    public void setStatusDictText(String statusDictText) {
        this.statusDictText = statusDictText;
    }

    public String getStatusDictText() {
        return statusDictText;
    } 
    
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    } 
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

	public String getConditionSql() {
		return conditionSql;
	}

	public void setConditionSql(String conditionSql) {
		this.conditionSql = conditionSql;
	}

	public String getTypeDictText() {
		return typeDictText;
	}

	public void setTypeDictText(String typeDictText) {
		this.typeDictText = typeDictText;
	} 
    

}
